/**
 * @author ghp
 * @date 2023/6/17
 * @title
 * @description
 */
public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
//        int i = solution.largestRectangleArea(new int[]{2, 1, 5, 6, 2, 3});
//        int i = solution.largestRectangleArea(new int[]{1,2,3,2});
        int i = solution.largestRectangleArea(new int[]{2,4});
        System.out.println(i);
    }
}
